package com.gxstnu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.gxstnu.mapper")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
//controller对外提供数据接口
//service 处理业务逻辑
//mapper 对接数据库:从数据库里查数据，CRUD操作数据